//
//  NetWorkConfig.m
//  callmed
//
//  Created by houwei on 2019/4/16.
//  Copyright © 2019年 xx. All rights reserved.
//

#import "NetWorkConfig.h"
#import <AFNetworkReachabilityManager.h>

@implementation NetWorkConfig


+ (void)initNetWork{
    NSDictionary* header = [HttpRequestHeader requestHeaderWithCookie:Session.cookie requestType:1];
    [HttpRequestOperation setRequestHeader:header];
    [HttpRequestOperation setHostURL:BASE_URL];
}

+ (NSString*)baseUrl{
    return BASE_URL;
}

+ (BOOL)isConnect{
    return [AFNetworkReachabilityManager sharedManager].reachable;
}

@end
